package routers

import (
	"example.com/m/demo15/controller"
	"github.com/gin-gonic/gin"
)

func RouterInits(c *gin.Engine) {
	studentRouters := c.Group("/student")
	student := controller.Student{}
	{
		studentRouters.GET("/create", student.Create)
		studentRouters.GET("/get", student.GetStuList)
		studentRouters.GET("/update", student.Update)
		studentRouters.GET("/getStu", student.GetStu)
	}
}
